package com.guilin.vo;

import com.guilin.common.annotation.Excel;
import com.guilin.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 问卷回答详情返回值对象VO
 */
public class SurveyResponseDetailVO extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 所属问卷回答记录ID */
    @Excel(name = "所属问卷回答记录ID")
    private Long responseId;

    /** 问卷调查编号 */
    @Excel(name = "问卷调查编号")
    private String responseCode;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 校友真实姓名 */
    @Excel(name = "用户姓名")
    private String userName;

    /** 题目ID */
    @Excel(name = "题目ID")
    private Long questionId;

    /** 题目名称 */
    @Excel(name = "题目名称")
    private String questionName;

    /** 用户选择的选项值 */
    @Excel(name = "用户选择的选项值")
    private String optionValues;

    /** 文本回答 */
    @Excel(name = "文本回答")
    private String textAnswer;

    /** 数值回答 */
    @Excel(name = "数值回答")
    private Long numericAnswer;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getResponseId() {
        return responseId;
    }

    public void setResponseId(Long responseId) {
        this.responseId = responseId;
    }

    public String getResponseCode() {
        return responseCode;
    }

    public void setResponseCode(String responseCode) {
        this.responseCode = responseCode;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getQuestionId() {
        return questionId;
    }

    public void setQuestionId(Long questionId) {
        this.questionId = questionId;
    }

    public String getQuestionName() {
        return questionName;
    }

    public void setQuestionName(String questionName) {
        this.questionName = questionName;
    }

    public String getOptionValues() {
        return optionValues;
    }

    public void setOptionValues(String optionValues) {
        this.optionValues = optionValues;
    }

    public String getTextAnswer() {
        return textAnswer;
    }

    public void setTextAnswer(String textAnswer) {
        this.textAnswer = textAnswer;
    }

    public Long getNumericAnswer() {
        return numericAnswer;
    }

    public void setNumericAnswer(Long numericAnswer) {
        this.numericAnswer = numericAnswer;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("responseId", getResponseId())
                .append("responseCode", getResponseCode())
                .append("userId", getUserId())
                .append("userName", getUserName())
                .append("questionId", getQuestionId())
                .append("questionName", getQuestionName())
                .append("optionValues", getOptionValues())
                .append("textAnswer", getTextAnswer())
                .append("numericAnswer", getNumericAnswer())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
